//
// Created by 123 on 2025/1/2.
//
#include "iostream"
using namespace std;

class Base1{
public:
    int ma;
    Base1(){
        ma = 100;
    }
};
class Base2{
public:
    int ma;
    Base2(){
        ma = 200;
    }
};

class Son : public Base1,public Base2{
public:
    int mc;
    int md;
    Son(){
        mc = 1;
        md = 2;
    }
};

int main083(){
    Son s;
    cout << "size of son=" << sizeof s << endl;
    cout << s.Base1::ma << endl;
    cout << s.Base2::ma << endl;

    return 0;
}